package com.aaa.a1110.demo01;

/**
 * @author 荆豪峰
 * @version 1.0
 */
public class Changfx extends MJZC{
    @Override
    public void MianJi(int a,int b) {
        int c=a*b;
        System.out.println("长方形的面积为："+c);
    }

    @Override
    public void ZhoChang(int a,int b) {
        int c=(a+b)*2;
        System.out.println("长方形的周长为："+c);
    }
}
